$namespace: 'bc';

@function joinVarName($list) {
  $name: '--' + $namespace;
  @each $item in $list {
    @if $item != '' {
      $name: $name + '-' + $item;
    }
  }
  @return $name;
}

@function getCssVarName($args...) {
  @return joinVarName($args);
}

@function getCssVar($args...) {
  @return var(#{joinVarName($args)});
}
